#ifndef KC_LISTENER_H__KC
#define KC_LISTENER_H__KC

#include <boost/thread.hpp>
#include "../comm/ssl/SSLServer.h"
#include "../comm/tcp/TCPServer.h"
#include "../logs/Logger.h"

namespace kc_sf
{
	class Listener
	{
		public:

			Listener();
			~Listener();

			void start();
			void stop();

		private:

			TCPServer *l_starttls_server;
			SSLServer *l_ssl_server;
			Logger l_logger;

			boost::thread_group l_listeners;
	};
}

#endif /* KC_LISTENER_H__KC */
